<?php

echo '
<html><body><title>MASS MAILER</title>
<body background="http://i.imgur.com/losN5.jpg"/>
<form method="post">
<font color="red">Mass Mailer</font><br />
From:  <input type="text" name="from" /> <br />
To: <input type="text" name="to" /><br />
Subject: <input type="text" name="subject" /><br />
Message:  <input type="text" name="message" /><br />
Password: <input type="text" name="auth" /> <br />
<input type="submit" name="submit" /><br />
</form>
';

if($_POST['auth'] == 'tgh'){

$From    = $_POST['from'];
$to      = $_POST['to'];
$subject = $_POST['subject'];
$message = $_POST['message'];

$headers = 'From:' . $From;
mail($to, $subject, $message, $headers);

}
?>